package com.funmi.lizip.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.funmi.lizip.entity.TaskFill;
import com.funmi.lizip.entity.dto.taskFill.TaskFillQueryRequest;
import com.funmi.lizip.mapper.TaskFillMapper;
import com.funmi.lizip.service.TaskFillService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author itheima
 */
@Slf4j
@Service
@Transactional
public class TaskFillServiceImpl extends ServiceImpl<TaskFillMapper, TaskFill> implements TaskFillService {

    @Autowired
    private TaskFillMapper taskFillMapper;

    @Override
    public TaskFill listById(TaskFillQueryRequest request) {
        return taskFillMapper.selectById(request.getId());
    }
}
